package com.tianlan.blog.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tianlan.blog.dao.SysDeptDao;
import com.tianlan.blog.entity.SysDept;
import com.tianlan.blog.service.SysDeptService;

@Service
public class SysDeptServiceImpl implements SysDeptService{
	
	@Autowired
	private SysDeptDao deptDao;

	@Override
	public List<SysDept> getDepts() {
		return deptDao.findAll();
	}


	

}
